Quantiied Assertions in Eiiel
نویسنده
چکیده
This paper discusses extensions to the language Ei el, required to write more comprehensive software speci cations, where a speci cation in Ei el is a collection of class interfaces with features speci ed using an assertion language (i.e. a BON static model). The focus of the paper is the extension of the assertion language with quanti cation. Two forms of quanti cation are identi ed, which are distinguished according to whether the quanti ed variable is of reference or expanded type. A semantics for each of the two forms is described, and the consequences for assertion checking at run-time considered.
منابع مشابه
JML: a Java Modeling Language
JML is a behavioral interface speciication language tailored to Java. It also allows assertions to be intermixed with Java code, as an aid to veriication and debugging. JML is designed to be used by working software engineers, and requires only modest mathematical training. To achieve this goal, JML uses Eiiel-style assertion syntax combined with the model-based approach to speciications typiie...
متن کاملclass STACK ( T ) is { { Implementation of STACK
Embedded speciications in object-oriented (OO) languages such as Eiiel and Sather are based on a rigorous approach towards validation, compatibility and reusability of sequential programs. The underlying method of \design-by-contract" is based on Hoare logic for which concurrency extensions exist. However concurrent OO languages are still in their infancy. They have inherently imperative facets...
متن کاملAn Operational Semantics for the Eiffel// Language
This paper formally describes the dynamic semantic of the Eiiel// language (Eiiel parallel). Eiiel// is a parallel extension of Eiiel language based on passive and active objects, asynchronous communication and wait-by-necessity. In this semantics we use formal speciications of inheritance and dynamic binding which we have deened in Natural Semantics for the Eiiel language. While in the framewo...
متن کاملPreliminary Design of JML : A Behavioral Interface Speci cation Language
JML is a behavioral interface speciication language tailored to Java. It also allows assertions to be intermixed with Java code, as an aid to veriication and debugging. JML is designed to be used by working software engineers, and requires only modest mathematical training. To achieve this goal, JML uses Eiiel-style assertion syntax combined with the model-based approach to speciications typiie...
متن کاملEiffel-like Assertions and Private Methods in Smalltalk
In this paper, we describe the current state of a project whose aim is the extension of the Smalltalk environment by incorporating mechanisms and tools promoting the development of quality software. We have included in the Smalltalk context a number of possibilities, which were not available in the original deeni-tion of the language. In this sense, assertions can be speciied in our extension, ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995